package com.team5101.dto;

import java.io.Serializable;
import java.math.BigDecimal;

public class ProductDTO implements Serializable {

    private Integer pId;    //产品id
    private String  pName;  //产品名
    private String  pImageMain; //产品主图
    private String  pImageBak;  //产品备图
    private String  pStandards; //产品规格字符串组
    private String  pIntro;     //产品介绍
    private String  pTypeOwn;   //产品类型一级
    private String  pType;      //产品类型二级
    private String  pEndtime;   //团购产品截止时间
    private Integer pSign;      //0:普通产品 1：团购产品
    private BigDecimal pPrice;  //产品单价
    private String pTag;        //团购产品的标记

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpImageMain() {
        return pImageMain;
    }

    public void setpImageMain(String pImageMain) {
        this.pImageMain = pImageMain;
    }

    public String getpImageBak() {
        return pImageBak;
    }

    public void setpImageBak(String pImageBak) {
        this.pImageBak = pImageBak;
    }

    public String getpStandards() {
        return pStandards;
    }

    public void setpStandards(String pStandards) {
        this.pStandards = pStandards;
    }

    public String getpIntro() {
        return pIntro;
    }

    public void setpIntro(String pIntro) {
        this.pIntro = pIntro;
    }

    public String getpTypeOwn() {
        return pTypeOwn;
    }

    public void setpTypeOwn(String pTypeOwn) {
        this.pTypeOwn = pTypeOwn;
    }

    public String getpType() {
        return pType;
    }

    public void setpType(String pType) {
        this.pType = pType;
    }

    public String getpEndtime() {
        return pEndtime;
    }

    public void setpEndtime(String pEndtime) {
        this.pEndtime = pEndtime;
    }

    public Integer getpSign() {
        return pSign;
    }

    public void setpSign(Integer pSign) {
        this.pSign = pSign;
    }

    public BigDecimal getpPrice() {
        return pPrice;
    }

    public void setpPrice(BigDecimal pPrice) {
        this.pPrice = pPrice;
    }

    public String getpTag() {
        return pTag;
    }

    public void setpTag(String pTag) {
        this.pTag = pTag;
    }


    @Override
    public String toString() {
        return "ProductDTO{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                ", pImageMain='" + pImageMain + '\'' +
                ", pImageBak='" + pImageBak + '\'' +
                ", pStandards='" + pStandards + '\'' +
                ", pIntro='" + pIntro + '\'' +
                ", pTypeOwn='" + pTypeOwn + '\'' +
                ", pType='" + pType + '\'' +
                ", pEndtime='" + pEndtime + '\'' +
                ", pSign=" + pSign +
                ", pPrice=" + pPrice +
                ", pTag='" + pTag + '\'' +
                '}';
    }
}
